package com.monkey4cloud.study.webfluxdemo001.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

@Table("my_user")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class MyUser {

    @Id
    private Long id;
    private String username;
    private String password;
    private String authorities;

}
